﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace RSSReader.WebClient.Models
{
  public class Article
  {
    public string Title { get; set; }
    public string From { get; set; }
    public DateTime? Date { get; set; }
    public string Link { get; set; }
    public string ShortSummary { get; set; }
    public bool HaveBeenRed { get; set; }
    public bool IsFavorite { get; set; }
    public string ImageUrl { get; set; }
  }

  public class HomeModel
  {
    public List<string> Sources { get; set; }
    public List<Article> Feeds { get; set; }

    public HomeModel()
    {
      this.Sources = new List<string>();
      this.Feeds = new List<Article>();
    }

  }
}